<template>
	<view class="city">
		<tab></tab>
		<first-nav></first-nav>
		<city-content :kcity="kcity"></city-content>
	</view>
</template>

<script>
	import tab from '../../components/tab.vue';
	import firstNav from '../../components/first-nav.vue';
	import cityContent from '../../components/cityContent.vue';
	export default {
		components:{
			tab,
			firstNav,
			cityContent
		},
		data() {
			return {
				kcity:'北京'
			}
		},
		onShow() {
			uni.getStorage({
				key:'city',
				success: (res) => {
					// console.log(res.data)
					this.kcity=res.data
				}
			})
		},
		methods: {
			
		}
	}
</script>

<style>
.city{
	width: 100%;
	height: 100%;
	background:#000000;
}
</style>
